﻿using B.MES.Customer.Domain;
using B.MES.Customer.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Infrastructure.IRepository
{
    /// <summary>
    /// 收入仓储层
    /// </summary>
    public interface IIncomeStatementRepository:IBaseRepository<IncomeStatement>
    {
        int AddIncomeState(IncomeStatement incomeStatement);
        PageApiResut<IncomeStatementDTO> GetIncomeStatement(int PageIndex, int PageSize);
        List<IncomeType>GetIncomeType();
        APIResult<IncomeStatement>DeleteIncomeStatement(int incomeId);
        APIResult<List<IncomeStatement>> DeletesIncomeStatement(List<IncomeStatement> list);
        IncomeStatement EditIncomeStatement(int incomeId);
        int UpdateIncomeStatement(IncomeStatement incomeStatement);
        //List<IncomeStatementDTOs> CountIncomeStatement(int Flag);
    }
}

